//
//  GeofenceInfo.h
//  location
//
//  Created by Dongxiang Xu on 2024/6/6.
//

#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>

NS_ASSUME_NONNULL_BEGIN

@interface GeofenceInfo : NSObject

@property (nonatomic, strong) NSString *fenceId;
@property (nonatomic, strong) NSString *fenceName;
@property (nonatomic, assign) CLLocationCoordinate2D center;
@property (nonatomic, assign) CLLocationDistance radius;
@property (nonatomic, assign) NSInteger code; // 1=进入, 2=离开, 3=进出

- (instancetype)initWithDictionary:(NSDictionary *)dict;

@end

NS_ASSUME_NONNULL_END
